This document covers those htmlwidgets that are also on CRAN. The full list of these is available here: https://cran.r-project.org/web/packages/htmlwidgets/index.html
Currently covers:
These are pretty exciting but not on CRAN yet
A way to easily create bindings R bindings to existing JavaScript libraries, this document primarily considers the most established libraries utilising the htmlwidgets frameworks.
It is fairly easy, in fact here’s a guy that dedicated to build 1 htmlwidgets library a week for a whole year: http://www.buildingwidgets.com/blog/2015/1/2/can-i-commit
The following example allows us to create a GIF in the browser - which could be embedded into a Shiny app.
## Skipping install for github remote, the SHA1 (0434d23e) has not changed since last install.
## Use `force = TRUE` to force installation
## Loading required package: htmltools
Feel free to change me. Careful though it might be recorded in a GIF.
Basic comparison of htmlwidgets libraries,
Generic Chart types:
note that “diagrams” means flowcharts and generic diagrams, for instance this periodic table created using rbokeh from http://hafen.github.io/rbokeh
| Library URL | Charts | Scattergeo | Choropleth | Network | Diagrams | Time Series |
|---|---|---|---|---|---|---|
| Leaflet | ||||||
| dygraphs | ||||||
| Plotly | ||||||
| rbokeh |
Can this section include notes on creating annotations etc, a la https://plot.ly/r/shapes/
## Warning in `[<-.factor`(`*tmp*`, thisvar, value = "<span class='glyphicon
## glyphicon-ok' aria-hidden='true'></span>"): invalid factor level, NA
## generated
| Library URL | Scroll Zoom | Area Select.Zoom | Panning | Hover | Shiny Click.Events |
|---|---|---|---|---|---|
| Leaflet | NA | ||||
| dygraphs | unknown | ||||
| Plotly | devel branch | ||||
| rbokeh | unknown |
What kind of maps?
##
## # maps v3.1: updated 'world': all lakes moved to separate new #
## # 'lakes' database. Type '?world' or 'news(package="maps")'. #